package zoo2;

public class ZooManagerCollection extends UserCollections {

    private ZooInfo departmentBelongTo;

    private String departmentName;


    public ZooInfo getDepartmentBelongTo() {
        return departmentBelongTo;
    }

    public void setDepartmentBelongTo(ZooInfo departmentBelongTo) {
        this.departmentBelongTo = departmentBelongTo;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String displayAllAnimals() {
        String displayMessageString = "";
        displayMessageString += this.departmentBelongTo.getZooBuilding()+ this.departmentName;
        for(User currentUser:userList){
            displayMessageString +=currentUser.getUserName();
        }
        return displayMessageString;
    }


}
